import Z404 from './404';
import Editor from './editor';
import PointSelect from './pointSelect';
import TreeSelect from './treeSelect';
import PolluteSelect from './polluteSelect';
import PanelSelect from './panelSelect';
import MainTable from './table';
import MainMap from './map';
import MainTitle from './title';
import QuarterlyPicker from './quarterlyPicker';
import MainDate from './data';
import LnglatSelect from './lnglat-select';
const components = [
  Z404,
  Editor,
  PointSelect,
  TreeSelect,
  PolluteSelect,
  PanelSelect,
  MainTable,
  MainMap,
  MainTitle,
  QuarterlyPicker,
  MainDate,
  LnglatSelect
];
const install = function(Vue, opts = {}) {
  components.map(component => {
    Vue.component(component.name, component);
  });
  // Vue.use(Map);
};
/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}
const exportsResult = {
  version: '1.0.0',
  install
};
Object.assign(exportsResult, components);

export default exportsResult;
